package com.itheima.service.mongo;

import com.itheima.domain.mongo.Comment;
import com.itheima.vo.PageBeanVo;

// 评论
public interface CommentService {

    // 保存
    Integer saveComment(Comment comment);

    // 取消
    Integer removeComment(Long userId, Long publishUserId, Integer commentType, String publishId);

    // 分页查询
    PageBeanVo findCommentByPage(String publishId, Integer pageNum, Integer pageSize,Integer commentType);


    // 查询对你点赞、评论、喜欢的人信息
    PageBeanVo findUserCommentByPage(Long publishUserId,Integer pageNum,Integer pageSize,Integer commentType);

}
